/******************************************************************************
 * Arquivo: VeiculoDAO.java                                                           *
 * Autor: Aurindo Jorge Ferreira                                              *
 * e-mail: aurindo@gmail.com                                                  *
 * Data de cria��o: 09/12/2007                                                   *
 *                                                                            *
 * Propriedade de FastFind Solu��es Tecnologicas                              *
 ******************************************************************************/

package br.com.srv.componentes.veiculo.dao;

import java.util.List;
import java.util.Map;

import br.com.srv.model.PontoTO;
import br.com.srv.model.VeiculoTO;

public interface VeiculoDAO {
	
	public static final String IGNICAO_LIGADO = "1";
	public static final String IGNICAO_DESLIGADO = "-1";	

	boolean bloquearVeiculoById(VeiculoTO veiculoTO) throws Exception;

	boolean desbloquearVeiculoById(VeiculoTO veiculoTO) throws Exception;

	List<PontoTO> buscarPosicoes(Integer veiculoId,
			String dataInicial, String horaInicial,
			String dataFinal, String horaFinal) throws Exception;
	
	//buscar posicoes do veiculo
	List<Map<String, String>> buscarUltimasPosicaoVeiculos(List<String> idVeiculos)
		throws Exception;
	
	String buscarSerialbyId(String veiculoId);

}
